package com.trkj.dao.jpa;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.LmbMaterialDamageDetail;

public interface LmbMaterialDamageDetailDAO extends CrudRepository<LmbMaterialDamageDetail, Long>{
	@Query("select max(m.mdtId) from LmbMaterialDamageDetail m where m.mdtId like ?1%")
    public String findMaxID(String a);
}
